<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php if($g_title){ echo $g_title; } ?>-秀范网</title>
        <link rel="stylesheet" type="text/css" href="css/reset.css"/>
        <link rel="stylesheet" type="text/css" href="css/m.css"/>
        <link rel="alternate" type="application/rss+xml" title="秀范网订阅源" href="http://www.ouyo.info/rss.php" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/m.js"></script>
		<script type="text/javascript">
			
			$(document).ready(function(){
				$("#now").html(Time.show());
				setInterval(function(){
					$("#now").html(Time.show());
				},1000);
                var href=location.href;
                if(document.domain.indexOf("ouyo.info")==-1){
                  //  window.location.replace(location.href.replace(document.domain,"ouyo.info"));
                }
			})
		</script>
        <?php if($g_js){ echo $g_js; } ?>
    
    </head>
    <body>
    <!--[if IE 6]>
    <div class="" style="border:1px solid #f00;text-align:center;padding:3px;background:#FFE427;">同学你在用IE6喔?辛苦你了- -|||,推荐你使用<a href="http://www.google.com/chrome/" target="_blank" title="谷歌浏览器能以超快的速度运行网页和应用程序。">谷歌浏览器Chrome</a></div>
    <![endif]-->
        <div class="wrap">
            <div class="inner">
                <div class="header">
                    <div class="top_bar">
                        <div class="act">
                            <a href="admin/login.php">登录</a>
                        </div>
                        <span class="now">当前时间:<em id="now"></em></span>
                    </div>
                    <div class="logo">
                        <a href="index.php"><img src="i/logo.png" /></a>
                    </div>
                    <div class="nav">
                        <ul>
                            <li <?php if($g_tab=='index'){ echo 'class="curr"';} ?>>
                                <a href="index.php"><span>首页</span></a>
                            </li>
                            <li <?php if($g_tab=='catalog'){ echo 'class="curr"';} ?>>
                                <a href="list.php"><span>所有文章</span></a>
                            </li>
                            <li <?php if($g_tab=='contact'){ echo 'class="curr"';} ?>>
                                <a href="contact.php"><span>联系我</span></a>
                            </li>
                            <li <?php if($g_tab=='about'){ echo 'class="curr"';} ?>>
                                <a href="about.php"><span>关于</span></a>
                            </li>
                            <li <?php if($g_tab=='blog'){ echo 'class="curr"';} ?>>
                                <a href="blogs.php"><span>博客收录</span></a>
                            </li>
                        </ul>
                    </div>
                    <div class="top_search">
                        <form action="result.php">
                            <input class="txt" name="keyword" type="text"/><input class="btn" type="submit" value="搜索"/>
                        </form>
                    </div>
                </div>			